package com.spic.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@Data
@ApiModel("业务状态关系实体")
@Alias("BusinessStatusList")
public class BusinessStatus {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("业务ID")
    private String businessKey;
    //业务类型
    private String businessType;
    @ApiModelProperty("流程实例ID")
    private String processInstanceId;
    @ApiModelProperty("流程状态：0已撤回, 1待提交，2处理中,3已完成, 4已作废，5已删除")
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("创建时间")
    private Date createDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("更新时间")
    private Date updateDate;
}
